#include <stdio.h> 

struct test {
    int num1;
    int num2;

    test(int n1 = 1, int n2 = 2): num1(n1), num2(n2) {}
    //test(const test&) = default;
    void print() {
        printf("num1:%d num2:%d\n", this->num1, this->num2);
    }
};

int main(int argc, char **argv) {
    test t1;
    t1.print();
    t1.num1 = 4;
    t1.num2 = 3;
    test t2(t1);
    t2.print();
    return 0;
}
